package org.zfes.snowier.cloud.zbss.pmp.model;
import org.zfes.snowier.common.dao.IBaseModel;
public class PmpBugs extends IBaseModel{

	private static final long serialVersionUID = 1L;
	
	public PmpBugs() {}
	public PmpBugs(Long id) {
		this.setId(id);
	}
	//<-------------------------------------------->
	@javax.validation.constraints.NotNull(message="所属项目不能为空")
	  private java.lang.Long projectId;
	  private java.lang.Byte bugFrom;
	  private java.lang.Long fromTaskId;
	  private java.lang.Long fromRequireModuleId;
	  private java.lang.Long fromRequireId;
	  private java.lang.Long fromBugId;
	@javax.validation.constraints.NotBlank(message="bug名称不能为空")
	@javax.validation.constraints.NotNull(message="bug名称不能为空")
	@org.hibernate.validator.constraints.Length(min=0,max=255,message="bug名称长度不能大于255")
	  private java.lang.String bugName;
	
	  private java.lang.String bugRemark;
	
	@javax.validation.constraints.NotNull(message="创建者不能为空")
	private java.lang.Long creatorUserId;
	
	@javax.validation.constraints.NotBlank(message="创建者不能为空")
	@javax.validation.constraints.NotNull(message="创建者不能为空")
	@org.hibernate.validator.constraints.Length(min=0,max=255,message="创建者长度不能大于255")
	private java.lang.String creatorUserName;
	
	//@javax.validation.constraints.NotBlank(message="指派用户不能为空")
	//@javax.validation.constraints.NotNull(message="指派用户不能为空")
	//@org.hibernate.validator.constraints.Length(min=0,max=255,message="指派用户长度不能大于255")
	  private java.lang.String assignUserName;
	
	//@javax.validation.constraints.NotNull(message="指派用户不能为空")
	  private java.lang.Long assignUserId;
	
	  //@javax.validation.constraints.NotNull(message="负责人不能为空")
	  private java.lang.Long chargeUserId;
	  //@javax.validation.constraints.NotBlank(message="负责人不能为空")
	  //@javax.validation.constraints.NotNull(message="负责人不能为空")
	  //@org.hibernate.validator.constraints.Length(min=0,max=255,message="负责人长度不能大于255")
	  private java.lang.String chargeUserName;
	
	  private java.util.Date updatetime;
	  private java.util.Date createtime;
	  private java.util.Date expiryTime;
	  
	//@javax.validation.constraints.NotNull(message="评估时间不能为空")
	  private java.lang.Integer assignHours;
	
	//@javax.validation.constraints.NotNull(message="投入时间不能为空")
	  private java.lang.Integer workHours;
	
	@javax.validation.constraints.NotNull(message="bug扣分不能为空")
	  private java.lang.Long deduceId;
	
	@javax.validation.constraints.NotNull(message="bug扣分值不能为空")
	  private java.lang.Float deduceScore;
	
	//@javax.validation.constraints.NotNull(message="bug进度不能为空")
	  private java.lang.Byte progress;
	
	  private java.util.Date assignTime;
	  private java.util.Date modifyTime;

	
	//@javax.validation.constraints.NotNull(message="任务状态不能为空")
	  private java.lang.Byte expired;
	
	  private java.lang.Long difficultyScoreId;
	  private java.lang.Integer difficultyScore;
	  private String  difficultyScoreName;
	@javax.validation.constraints.NotNull(message="所属版本不能为空")
	  private java.lang.Long projectVersionId;
	@javax.validation.constraints.NotBlank(message="版本名不能为空")
	@javax.validation.constraints.NotNull(message="版本名不能为空")
	@org.hibernate.validator.constraints.Length(min=0,max=20,message="版本名长度不能大于20")
	  private java.lang.String projectVersionName;
	
	@javax.validation.constraints.NotBlank(message="bug详情不能为空")
	@javax.validation.constraints.NotNull(message="bug详情不能为空")
	@org.hibernate.validator.constraints.Length(min=0,max=2147483647,message="bug详情长度不能大于2,147,483,647")
	  private java.lang.String bugDetail;
 
	
	  //bug状态_D#1未指派,2待解决,3进行中,4修改并提交,5测试验收,6测试驳回,7经理驳回,8已完成,9延期处理,10取消，-1已删除#
	@javax.validation.constraints.NotNull(message="bug状态不能为空")
	  private java.lang.Byte status;
	//优先级#1低，2中等，3急，4加急#
	  @javax.validation.constraints.NotNull(message="优先级不能为空")
	  private java.lang.Byte priority;
	  //严重程度#1轻微,2小调整,3中等,4严重交,5非常严重,6宕机#
	  @javax.validation.constraints.NotNull(message="严重程度不能为空")
	  private java.lang.Byte severity;//
	 //出现频率_D#1随机，2总是#	
	  @javax.validation.constraints.NotNull(message="出现频率不能为空")
	  private java.lang.Byte  frequency;//	

	//<-------------------------------------------->
	public PmpBugs setProjectId(java.lang.Long projectId){
	 this.projectId=projectId;
	 return this;
	}
	public java.lang.Long getProjectId(){
		return this.projectId;
	}
	public PmpBugs setBugFrom(java.lang.Byte bugFrom){
	 this.bugFrom=bugFrom;
	 return this;
	}
	public java.lang.Byte getBugFrom(){
		return this.bugFrom;
	}
	public PmpBugs setFromTaskId(java.lang.Long fromTaskId){
	 this.fromTaskId=fromTaskId;
	 return this;
	}
	public java.lang.Long getFromTaskId(){
		return this.fromTaskId;
	}
	public PmpBugs setFromRequireModuleId(java.lang.Long fromRequireModuleId){
	 this.fromRequireModuleId=fromRequireModuleId;
	 return this;
	}
	public java.lang.Long getFromRequireModuleId(){
		return this.fromRequireModuleId;
	}
	public PmpBugs setFromRequireId(java.lang.Long fromRequireId){
	 this.fromRequireId=fromRequireId;
	 return this;
	}
	public java.lang.Long getFromRequireId(){
		return this.fromRequireId;
	}
	public PmpBugs setFromBugId(java.lang.Long fromBugId){
	 this.fromBugId=fromBugId;
	 return this;
	}
	public java.lang.Long getFromBugId(){
		return this.fromBugId;
	}
	public PmpBugs setBugName(java.lang.String bugName){
		this.bugName=bugName==null?null:bugName.trim();
	 return this;
	}
	public java.lang.String getBugName(){
		return this.bugName;
	}
	public PmpBugs setBugRemark(java.lang.String bugRemark){
		this.bugRemark=bugRemark==null?null:bugRemark.trim();
	 return this;
	}
	public java.lang.String getBugRemark(){
		return this.bugRemark;
	}
	public PmpBugs setCreatorUserId(java.lang.Long creatorUserId){
	 this.creatorUserId=creatorUserId;
	 return this;
	}
	public java.lang.Long getCreatorUserId(){
		return this.creatorUserId;
	}
	public PmpBugs setCreatorUserName(java.lang.String creatorUserName){
		this.creatorUserName=creatorUserName==null?null:creatorUserName.trim();
	 return this;
	}
	public java.lang.String getCreatorUserName(){
		return this.creatorUserName;
	}
	public PmpBugs setAssignUserName(java.lang.String assignUserName){
		this.assignUserName=assignUserName==null?null:assignUserName.trim();
	 return this;
	}
	public java.lang.String getAssignUserName(){
		return this.assignUserName;
	}
	public PmpBugs setAssignUserId(java.lang.Long assignUserId){
	 this.assignUserId=assignUserId;
	 return this;
	}
	public java.lang.Long getAssignUserId(){
		return this.assignUserId;
	}
	public PmpBugs setChargeUserId(java.lang.Long chargeUserId){
	 this.chargeUserId=chargeUserId;
	 return this;
	}
	public java.lang.Long getChargeUserId(){
		return this.chargeUserId;
	}
	public PmpBugs setChargeUserName(java.lang.String chargeUserName){
		this.chargeUserName=chargeUserName==null?null:chargeUserName.trim();
	 return this;
	}
	public java.lang.String getChargeUserName(){
		return this.chargeUserName;
	}
	public PmpBugs setUpdatetime(java.util.Date updatetime){
	 this.updatetime=updatetime;
	 return this;
	}
	public java.util.Date getUpdatetime(){
		return this.updatetime;
	}
	public PmpBugs setCreatetime(java.util.Date createtime){
	 this.createtime=createtime;
	 return this;
	}
	public java.util.Date getCreatetime(){
		return this.createtime;
	}
	public PmpBugs setExpiryTime(java.util.Date expiryTime){
	 this.expiryTime=expiryTime;
	 return this;
	}
	public java.util.Date getExpiryTime(){
		return this.expiryTime;
	}
	public PmpBugs setAssignHours(java.lang.Integer assignHours){
	 this.assignHours=assignHours;
	 return this;
	}
	public java.lang.Integer getAssignHours(){
		return this.assignHours;
	}
	public PmpBugs setWorkHours(java.lang.Integer workHours){
	 this.workHours=workHours;
	 return this;
	}
	public java.lang.Integer getWorkHours(){
		return this.workHours;
	}
	public PmpBugs setDeduceId(java.lang.Long deduceId){
	 this.deduceId=deduceId;
	 return this;
	}
	public java.lang.Long getDeduceId(){
		return this.deduceId;
	}
	public PmpBugs setDeduceScore(java.lang.Float deduceScore){
	 this.deduceScore=deduceScore;
	 return this;
	}
	public java.lang.Float getDeduceScore(){
		return this.deduceScore;
	}
	public PmpBugs setProgress(java.lang.Byte progress){
	 this.progress=progress;
	 return this;
	}
	public java.lang.Byte getProgress(){
		return this.progress;
	}
	public PmpBugs setAssignTime(java.util.Date assignTime){
	 this.assignTime=assignTime;
	 return this;
	}
	public java.util.Date getAssignTime(){
		return this.assignTime;
	}
	public PmpBugs setModifyTime(java.util.Date modifyTime){
	 this.modifyTime=modifyTime;
	 return this;
	}
	public java.util.Date getModifyTime(){
		return this.modifyTime;
	}
	public PmpBugs setStatus(java.lang.Byte status){
	 this.status=status;
	 return this;
	}
	public java.lang.Byte getStatus(){
		return this.status;
	}
	public PmpBugs setExpired(java.lang.Byte expired){
	 this.expired=expired;
	 return this;
	}
	public java.lang.Byte getExpired(){
		return this.expired;
	}
	public PmpBugs setDifficultyScoreId(java.lang.Long difficultyScoreId){
	 this.difficultyScoreId=difficultyScoreId;
	 return this;
	}
	public java.lang.Long getDifficultyScoreId(){
		return this.difficultyScoreId;
	}
	public PmpBugs setDifficultyScore(java.lang.Integer difficultyScore){
	 this.difficultyScore=difficultyScore;
	 return this;
	}
	public java.lang.Integer getDifficultyScore(){
		return this.difficultyScore;
	}
	public PmpBugs setProjectVersionId(java.lang.Long projectVersionId){
	 this.projectVersionId=projectVersionId;
	 return this;
	}
	public java.lang.Long getProjectVersionId(){
		return this.projectVersionId;
	}
	public PmpBugs setProjectVersionName(java.lang.String projectVersionName){
		this.projectVersionName=projectVersionName==null?null:projectVersionName.trim();
	 return this;
	}
	public java.lang.String getProjectVersionName(){
		return this.projectVersionName;
	}
	public PmpBugs setBugDetail(java.lang.String bugDetail){
		this.bugDetail=bugDetail==null?null:bugDetail.trim();
	 return this;
	}
	public java.lang.String getBugDetail(){
		return this.bugDetail;
	}
	public java.lang.Byte getPriority() {
		return priority;
	}
	public PmpBugs setPriority(java.lang.Byte priority) {
		this.priority = priority;
		 return this;
	}
	public java.lang.Byte getSeverity() {
		return severity;
	}
	public PmpBugs setSeverity(java.lang.Byte severity) {
		this.severity = severity;
		 return this;
	}
	public java.lang.Byte getFrequency() {
		return frequency;
	}
	public PmpBugs setFrequency(java.lang.Byte frequency) {
		this.frequency = frequency;
		 return this;
	}
	public String getDifficultyScoreName() {
		return difficultyScoreName;
	}
	public PmpBugs setDifficultyScoreName(String difficultyScoreName) {
		this.difficultyScoreName = difficultyScoreName;
		 return this;
	}

}
